﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using DataCom;
using ConfigurationFactory;

namespace DBAccessLib
{
    public static class ProductInfo
    {
        public static DataTable GetProductInfo(string lineCode, string shift, string NumTime)
        {
            IProductInfoDataAccess dataAccess = DataCommunicationFactory.GetProductInfoDataAccess();
            return dataAccess.GetProductInfo(lineCode, shift, NumTime);
        }

        public static bool UpdateProductInfo(DataTable dtProductInfo)
        {
            IProductInfoDataAccess dataAccess = DataCommunicationFactory.GetProductInfoDataAccess();
            return dataAccess.UpdateProductInfo(dtProductInfo);
        }
    }
}
